import request from '@/plugins/request';

/**
 * 供应商-获取供应商列表
 */
 export function professionalsList(data) {
    return request({
        url: '/user/professionals/list',
        method: 'get',
        params: data
    })
}

/**
 * @description 四大人员审核表单
 * @param {Number} param id {Number}
 */
 export function getVerifyForm(id) {
    return request({
        url: `/user/professionals/apply_form/${id}`,
        method: 'get'
    })
};

/**
 * @description 四大人员编辑表单
 * @param {Number} param id {Number}
 */
 export function getEditForm(id) {
    return request({
        url: `/user/professionals/get_edit_form/${id}`,
        method: 'get'
    })
};

getEditForm

/**
 * @description 四大人员审核
 * @param {Number} param id {Number}
 */
 export function verifyApply(id,data) {
    return request({
        url: `/user/professionals/verify_apply/${id}`,
        method: 'post',
        data:data
    })
};

